var app={
    showSheet:function(){
        //初始化操作表
        var _sheet=$$.initSheet({
                el:"#add-sheet",
                callback:function(item,index){

                    switch (index){
                        case 0:
                            $$.openWin({
                                id:"release",
                                url:"../release/release.html"
                            });
                            break;
                        case 1:

                            break;
                    }
                    return true;
                }
            });
        //打开操作表
        document.getElementById('add-station').addEventListener('tap',function(){
            _sheet.show();
        });
    },
    router:function(){
        //列表点击
        mui('#slider').on('tap','.mui-table-view-cell',function(){
            $$.openWin({
                id:"stationDet",
                url:"../stationDet/stationDet.html"
            });
        });
    }
};